package com.example.mongo.Model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;


public class UserRegisterDto {

    @NotNull(message = "缺少 userName 信息")
    private String userName;

    @NotNull(message = "缺少 userPassword 信息")
    private String userPassword;

    @NotNull(message = "缺少 userPhone 信息")
    private String userPhone;




    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }



    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
}
